package kr.hkit.powerjava.chapter22.collection;

import java.util.Vector;

public class VectorTEst {
	public static void main(String[] args) {
		Vector vc = new Vector();
		vc.add("Hello Java");
		vc.add(new Integer(20));
		vc.add(30);

		System.out.println("Vector 크기 : " + vc.size());

		for (int i = 0; i < vc.size(); i++) {
			System.out.println("vc " + vc.get(i));
		}
		String str = (String) vc.get(0);
		System.out.println(str);

	}
}
